<template>
	<view v-html="info">
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info: ''
			};
		},
		onLoad(options) {
			this.getInfo(options.id)
		},
		methods:{
			getInfo(id) {
				uni.$u.http.post('/thumbinfo ', {
					id: id
				}).then(res => {
					if (res.code == 1) {
						res.data = res.data.replace(/<img/g,
							"<img style='max-width:100%;height:auto'")
						this.info = res.data
					}
				}).catch((res) => {
							
				})
			}
		}
	}
</script>

<style lang="less">

</style>